<%@ page import="java.net.URLEncoder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
  request.setCharacterEncoding("utf-8");
  String str = request.getParameter("str");
  String pageno = request.getParameter("pageno");  
  str = URLEncoder.encode(str,"utf-8");
  System.out.println(str);
  String url = "http://apis.daum.net/search/book?result=3&q="+str+
                  "&apikey=8ecf312714fd89908551827e0d65344a5dd26062&output=json&pageno="+pageno;
%>
<c:import url= "<%=url%>" charEncoding="utf-8">
</c:import>

